/**
 * @author: zhiqiang
 * @version: 1.0
 * @date: 2022/3/17
 * @description:
 */
package com.lzq.state.improved;

public class FailState implements State {
    private Context context;
    public FailState(Context context) {
        this.context = context;
    }
    @Override
    public void test() {
        System.out.println("修改中......");
        System.out.println("修改完成，提交测试");
        context.setState(new TestingState(context));
    }
}
